<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
/*        .out{
            border:1px solid #ccc;
            width: 300px;
            height: 300px;
            position: relative;
        }

        .in{
            border:1px solid #ccc;
            width: 100px;
            height: 100px;
            margin:0 auto;
            position: absolute;
            left: 50%;
            top: 50%;
            margin-top: -50px;
            margin-left: -50px;
        }*/
/*        p{
            display: inline-block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }*/
        ul,li{
            margin:0;
            padding: 0;
        }
        ul{
            border: 10px solid black;
            list-style: none;
        }
        li{
            /*height: 100px;*/
            margin:50px;
            width: 200px;
        }
        .c1{
            background: red;
        }
        .c2{
            background: blue;
        }
        .c3{
            background: green;
        }


    </style>
</head>
<body>
    <ul>
        <li  class="c1">c1</li>
        <li class="c2">c2</li>
        <li class="c3">c3</li>
    </ul>
</body>
</html>